home *** CD-ROM | disk | FTP | other *** search
/ AI Game Programming Wisdom / AIGameProgrammingWisdom.iso / SourceCode / 10 Scripting / 02 Berger / README.txt
Encoding:
Text File  |  2001-10-16  |  613 b   |  12 lines

  1. This directory contains the sample code for a simple interpreter called
  2. SInterp.  It has an associated compiler called SCC that generates the
  3. bytecode streams it needs to execute.  SCC included in this directory is a
  4. more advanced version of the SCC created for my previous article.  This
  5. compiler supports variables, if-statements, and for-loops.
  6.  
  7. In order to execute a bytecode generated from SCC, simply run SInterp with
  8. the name of the script to execute.  It will run the script and spew to
  9. stdout the results of each opcode as they are executed.  A sample bytecode
  10. stream sample.bin is included.
  11.  
  12.